package routers

import (
	"github.com/gin-gonic/gin"
	v1 "perfect-admin/api/v1"
	"perfect-admin/middleware"
)

func InitOperLogRouter(Router *gin.RouterGroup)  {
	OperLogRouter := Router.Group("operlog").Use(middleware.JWTAuth())
	{
		OperLogRouter.GET("/getOperLogList", v1.GetOperLogList)
		OperLogRouter.GET("/getOperLogListByIds", v1.GetOperLogListByIds)
		OperLogRouter.DELETE("/deleteOperLog", v1.DeleteOperLog)
		OperLogRouter.DELETE("/clean", v1.CleanOperLog)
	}
}

